package com.koron.common.web.electronicsignature.fegin;

import com.koron.bean.base.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "eam-service-ticket", fallbackFactory = ElectronicSignatureFeignFallback.class)
public interface ElectronicSignatureTicketService {

    @GetMapping("/work/workticket/electronicSignatureCallback")
    Response electronicSignatureCallback(@RequestParam("workTicketId") String workTicketId, @RequestParam("tenantName") String tenantName,
                                         @RequestParam("signStatus") String signStatus);
}
